package cn.chia.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TblUnit entity. @author MyEclipse Persistence Tools
 */

public class TblUnit implements java.io.Serializable {

	// Fields

	private Integer unitId;
	private String unitName;
	private Set tblItemses = new HashSet(0);

	// Constructors

	/** default constructor */
	public TblUnit() {
	}

	/** minimal constructor */
	public TblUnit(String unitName) {
		this.unitName = unitName;
	}

	/** full constructor */
	public TblUnit(String unitName, Set tblItemses) {
		this.unitName = unitName;
		this.tblItemses = tblItemses;
	}

	// Property accessors

	public Integer getUnitId() {
		return this.unitId;
	}

	public void setUnitId(Integer unitId) {
		this.unitId = unitId;
	}

	public String getUnitName() {
		return this.unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public Set getTblItemses() {
		return this.tblItemses;
	}

	public void setTblItemses(Set tblItemses) {
		this.tblItemses = tblItemses;
	}

}